// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'



//引入element UI插件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);




// API 管理
import axios from 'axios';
Vue.prototype.$http = axios;
import api from '@/util/api/HttpIndex.js'
Vue.prototype.$api = api;



//公共JS
import base from '@/util/base'
Vue.use(base);


//富文本引入
import CKEditor from '@ckeditor/ckeditor5-vue';
Vue.use( CKEditor );


Vue.config.productionTip = false
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

